##################################################################### 
# Parameters!
#不要空格！！！！！！！！！！！！
mainFolder="/home/lin/桌面/HITCRT/High_exo_CNN/runs"
logFolder="log"
checkpointFolder="checkpoints"

train_path="/home/lin/桌面/HITCRT/High_exo_CNN/scripts/train.txt"
val_path="/home/lin/桌面/HITCRT/High_exo_CNN/scripts/valid.txt"

#############################################
#--- training hyperparams ---
batch_size=16
learning_rate=0.01

##################################################################### 
mkdir -p ${mainFolder}
mkdir -p ${mainFolder}/${logFolder}
mkdir -p ${mainFolder}/${checkpointFolder}

#conda activate RM2021
#activate conda env
python3 -u gen_dataset_list.py
#gen dataset

python3 -u train.py --train-list ${train_path} --valid-list ${val_path} --lr ${learning_rate} --epochs 100 -b ${batch_size} --logdir ${mainFolder}

##################################################################### 

